package com.travel.service.impl;

import com.travel.entity.vo.CommentVo;
import com.travel.mapper.CommentVoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author:Jasenon_ce
 * Date: 2025.04.22/下午1:13
 */
@Service
public class CommentVoService {

    @Autowired
    private CommentVoMapper commentVoMapper;

    public List<CommentVo> getCommentByArticleId(Integer articleId) {
        return commentVoMapper.getCommentByArticleId(articleId);
    }

}
